package net.nearst.oa.service;

import java.util.List;

import net.nearst.oa.entity.RoleInfo;
import net.nearst.oa.util.PagingBean;

public interface IRoleInfoService {
	public abstract List<RoleInfo> getAllRoles();
	public abstract RoleInfo getRoleInfo(String roleId);
	public abstract boolean deleteRole(String roleId);
	public abstract boolean updateRole(RoleInfo role);
	public abstract boolean addRole(RoleInfo role);
	public abstract int getRoleCountByCondition(RoleInfo queryRole);
	public abstract List<RoleInfo> getRolesByCondition(PagingBean pagingBean, RoleInfo queryRole);
	public abstract List<RoleInfo> getAllRolesByPage(PagingBean pagingBean);
	public abstract int getRoleCount();
}
